
wbx.util = (() => {
  // 方法

  const formatHeaderStr = (n) => {
    if (n < 26) {
      return String.fromCharCode(65 + n);
    } else {
      return formatHeaderStr(Math.floor(n / 26) - 1) + '' + formatHeaderStr(n % 26);
    }
  }

  const createDomByTagName = (name) => {
    return document.createElement(name.toUpperCase());
  };

  return {
    formatHeaderStr: formatHeaderStr,
    createDomByTagName: createDomByTagName
  }
})();